package crypto.main;

/**
 * DOCUMENT ME!
 *
 * @author gato
 */
public class Main {

    /**
     * DOCUMENT ME!
     *
     * @param args DOCUMENT ME!
     */
    public static void main(String[] args) {

        Crypto crypto = new Crypto();
        String texto = crypto.encrypt("Esta es una prueba de encriptacion");

        System.out.println(texto);

        /*if( args.length != 0 ){
        int oper = Integer.parseInt(args[0]);

        switch (oper) {
        case (0):

        String text     = args[1];
        String fileName = args[2];
        Crypto crypto   = new Crypto();
        String txtCrypt = crypto.encrypt(text, fileName);
        System.out.println(txtCrypt);

        break;

        case (1):

        DeCrypto decrypto          = new DeCrypto();
        String   textEnc           = args[1];
        String   fileNameReference = args[2];
        String   txtDecrypt        = decrypto.decrypt(textEnc, fileNameReference);
        System.out.println(txtDecrypt);

        break;
        }*/
    }

}
